package com.cy.ppj.model.vo;

import java.math.BigDecimal;
import java.util.List;

import com.cy.ppj.comm.annotation.OssUrl;
import com.cy.ppj.model.domian.product.ProductRate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 前端产品详情信息
 * @author: tanyilin
 * @create: 2018年7月24日 下午4:41:48
 */
@Data
@OssUrl
@ApiModel("前端产品详情信息")
public class ProductDetailVO {

	@ApiModelProperty(value = "产品id", example = "0")
	private Long productId;
	
	@ApiModelProperty(value = "产品名称")
	private String productName;
	
	@ApiModelProperty(value = "某个产品类型下的产品标识")
	private String no;
	
	@ApiModelProperty(value = "是否返佣")
	private Boolean useCommission;
	
	@ApiModelProperty(value = "推荐语")
	private String recommendation;
	
	@ApiModelProperty(value = "佣金点数", example = "0.00")
	private BigDecimal commissionRate;
	
	@ApiModelProperty(value = "最小额度", example = "0.00")
	private BigDecimal minCreditLimit;

	@ApiModelProperty(value = "最大额度", example = "0.00")
	private BigDecimal maxCreditLimit;

	@ApiModelProperty(value = "文本标签")
	private String tagsText;
	
	@ApiModelProperty(value = "期限")
	private String periodsArr;
	
	@ApiModelProperty(value = "准入条件")
	private String accessCondtion;
	
	@ApiModelProperty(value = "征信条件")
	private String creditCondition;
	
	@ApiModelProperty(value = "所需资料")
	private String requiredInfomation;
	
	@ApiModelProperty(value = "签约流程")
	private String signProcess;
	
	@ApiModelProperty(value = "产品利率列表")
	private List<ProductRate> rateList;

	@ApiModelProperty(value = "资金方ID", example = "0")
	private Integer sourceId;
	
	@OssUrl
	@ApiModelProperty(value = "产品icon地址")
	private String iconPath;
	
	@ApiModelProperty(value = "是否推广")
	private Boolean extend;
	
	@ApiModelProperty(value = "产品方地址")
	private String sourceUrl;
	
	@ApiModelProperty(value = "用户当前经纪人利率", example = "0.00")
	private BigDecimal brokerRate; 
}
